package com.cnhis.cloudhealth.clinical.clidoctor.clinicaldoctoradviceeditor.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;

import com.alibaba.dubbo.config.annotation.Service;
import com.cnhis.cloudhealth.clinical.clidoctor.clinicaldoctoradviceeditor.bo.DoctorAdviceEditorBo;
import com.cnhis.cloudhealth.clinical.clidoctor.clinicaldoctoradviceeditor.mapper.CliVao1;
import com.cnhis.cloudhealth.commons.Mappers.ModelVo;
import com.cnhis.cloudhealth.commons.newid.GetNewId;
import java.util.HashMap;

@Service
public class DoctorAdviceEditorImpl implements IDoctorAdviceEditor
{
    @Autowired
    private DoctorAdviceEditorBo adviceEditorBo;
    
    @Autowired
    private GetNewId getNewId;
    
    @Override
    public ModelVo queryItemExecuteOffice(int currentPage, int pageSize)
        throws Exception
    {
        return adviceEditorBo.queryItemExecuteOffice(currentPage, pageSize);
    }
    
    @Override
    public ModelVo insertPatientDiagnosticLogout(CliVao1 vao1)
        throws Exception
    {
        return adviceEditorBo.insertByVo(vao1);
    }
    
    @Override
    public Long getId()
    {
        return getNewId.nextId();
    }
    
    @Override
    public ModelVo storageDoctorAdviceRecord()
        throws Exception
    {
        return adviceEditorBo.storageDoctorAdviceRecord();
    }
    
    @Override
    public ModelVo queryClinicalPatientinformation(Map map)
        throws Exception
    {
        return adviceEditorBo.queryClinicalPatientinformation(map);
    }
    
    @Override
    public ModelVo storageNewDiagnosisRecord(Map map)
        throws Exception
    {
        return adviceEditorBo.storageNewDiagnosisRecord(map);
    }
    
    @Override
    public ModelVo personalOftenList(Map map, int currentPage, int pageSize)
        throws Exception
    {
        return adviceEditorBo.personalOftenList(map, currentPage, pageSize);
    }
    
    @Override
    public ModelVo personalTherapeuticRegimen(Map map, int currentPage, int pageSize)
        throws Exception
    {
        return adviceEditorBo.personalTherapeuticRegimen(map, currentPage, pageSize);
    }
    
    @Override
    public ModelVo requestNote(Map map, int currentPage, int pageSize)
        throws Exception
    {
        return adviceEditorBo.requestNote(map, currentPage, pageSize);
    }
    
    @Override
    public ModelVo requestNoteDetailItem(Map map, int currentPage, int pageSize)
        throws Exception
    {
        return adviceEditorBo.requestNoteDetailItem(map, currentPage, pageSize);
    }
    
    @Override
    public ModelVo rapeuticSchedule(Map map)
        throws Exception
    {
        return adviceEditorBo.rapeuticSchedule(map);
    }
    
    @Override
    public ModelVo treeList(Map map)
        throws Exception
    {
        return adviceEditorBo.treeList(map);
    }
    
    @Override
    public ModelVo treeList1(HashMap map)
        throws Exception
    {
        return adviceEditorBo.treeList1(map);
    }
    
    @Override
    public ModelVo classificationRetrieval(Map map, int currPage, int pageSize)
        throws Exception
    {
        return adviceEditorBo.classificationRetrieval(map, currPage, pageSize);
    }
    
    /**
     * 725 树形：按药品规格 检索品种分类对应的明细项目
     */
    public ModelVo medTreeToDetail(Map map, int currPage, int pageSize)
        throws Exception
    {
        return adviceEditorBo.medTreeToDetail(map, currPage, pageSize);
    }
    
    public ModelVo checkDrugstore(Map map)
        throws Exception
    {
        return adviceEditorBo.checkDrugstore(map);
    }
    
    @Override
    public ModelVo queryFeeDetail(Map map)
        throws Exception
    {
        
        return adviceEditorBo.queryFeeDetail(map);
    }
    
    @Override
    public ModelVo queryMedicineAdviceFeeDetail(Map map)
        throws Exception
    {
        
        return adviceEditorBo.queryMedicineAdviceFeeDetail(map);
    }
    
    @Override
    public ModelVo unSendAdviceValuationPrice(Map map)
        throws Exception
    {
        return adviceEditorBo.unSendAdviceValuationPrice(map);
    }
    
    @Override
    public ModelVo queryItemCondition(Map map, int currentPage, int pageSize)
        throws Exception
    {
        return adviceEditorBo.queryItemCondition(map, currentPage, pageSize);
    }
    
    @Override
    public ModelVo queryBBY1ByVAF01(HashMap map)
        throws Exception
    {
        return adviceEditorBo.queryBBY1ByVAF01(map);
    }

    @Override
    public ModelVo queryVBQ1ByCBM01(HashMap map)
        throws Exception
    {
        return adviceEditorBo.queryVBQ1ByCBM01(map);
    }

    @Override
    public ModelVo personalOftenListXiyao(HashMap map)
        throws Exception
    {
        return adviceEditorBo.personalOftenListXiyao(map);
    }

    @Override
    public ModelVo personalOftenListZhongyao(HashMap map)
        throws Exception
    {
        return adviceEditorBo.personalOftenListZhongyao(map);
    }

    @Override
    public ModelVo personalOftenListJiancha(HashMap map)
        throws Exception
    {
        return adviceEditorBo.personalOftenListJiancha(map);
    }

    @Override
    public ModelVo personalOftenListJianyan(HashMap map)
        throws Exception
    {
        return adviceEditorBo.personalOftenListJianyan(map);
    }

    @Override
    public ModelVo personalOftenListShoushu(HashMap map)
        throws Exception
    {
        return adviceEditorBo.personalOftenListShoushu(map);
    }

    @Override
    public ModelVo personalOftenListZhiliao(HashMap map)
        throws Exception
    {
        return adviceEditorBo.personalOftenListZhiliao(map);
    }

    @Override
    public ModelVo personalOftenListCailiao(HashMap map)
        throws Exception
    {
        return adviceEditorBo.personalOftenListCailiao(map);
    }

    @Override
    public ModelVo queryYangben(HashMap map)
        throws Exception
    {
        return adviceEditorBo.queryYangben(map);
    }

    @Override
    public ModelVo checkdrugstoreNew(HashMap map)
        throws Exception
    {
        return adviceEditorBo.checkdrugstoreNew(map);
    }

    @Override
    public ModelVo getVaf1Byvaf01a(HashMap map)
        throws Exception
    {
        return adviceEditorBo.getVaf1Byvaf01a(map);
    }

    @Override
    public ModelVo classificationretrieval_fangan(HashMap map)
    {
        return adviceEditorBo.classificationretrieval_fangan(map);
    }

    @Override
    public ModelVo jiansuoFangan(HashMap map)
        throws Exception
    {
        return adviceEditorBo.jiansuoFangan(map);
    }

    @Override
    public ModelVo storageNewDiagnosisRecord1(HashMap map)
        throws Exception
    {
        return adviceEditorBo.storageNewDiagnosisRecord1(map);
    }

    @Override
    public ModelVo checkdrugstoreNew_cailiao(HashMap map)
        throws Exception
    {
        return adviceEditorBo.checkdrugstoreNew_cailiao(map);
    }

    
}
